package com.vcens.yzpay.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author BY VeChar
 * @CreateTime 2018/8/16 14:39
 * @Description TODO
 */
@Component
public class YzConfig {
    @Value("${pay.config.data.token}")
    private String url;
    @Value("${pay.config.client_id}")
    private String clientId;
    @Value("${pay.config.client_secret}")
    private String clientSecret;
    @Value("${pay.config.grant_type}")
    private String grantType;
    @Value("${pay.config.kdt_id}")
    private String kdtId;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getGrantType() {
        return grantType;
    }

    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }

    public String getKdtId() {
        return kdtId;
    }

    public void setKdtId(String kdtId) {
        this.kdtId = kdtId;
    }
}
